PTToolManager Notifications
-
Posted when the tool has changed.
The notification object is the tool manager that posted the notification. The
See moreuserInfo
dictionary contains an entry for thePTToolManagerPreviousToolUserInfoKey
key when there is a previous tool.Declaration
Objective-C
extern const NSNotificationName _Nonnull PTToolManagerToolDidChangeNotification
Swift
static let PTToolManagerToolDidChange: NSNotification.Name
-
Posted when an annotation is added.
The notification object is the tool manager that posted the notification. The
See moreuserInfo
dictionary contains entries for thePTToolManagerAnnotationUserInfoKey
andPTToolManagerPageNumberUserInfoKey
keys.Declaration
Objective-C
extern const NSNotificationName _Nonnull PTToolManagerAnnotationAddedNotification
Swift
static let PTToolManagerAnnotationAdded: NSNotification.Name
-
Posted when an annotation is modified.
The notification object is the tool manager that posted the notification. The
See moreuserInfo
dictionary contains entries for thePTToolManagerAnnotationUserInfoKey
andPTToolManagerPageNumberUserInfoKey
keys.Declaration
Objective-C
extern const NSNotificationName _Nonnull PTToolManagerAnnotationModifiedNotification
Swift
static let PTToolManagerAnnotationModified: NSNotification.Name
-
Posted when an annotation is removed.
The notification object is the tool manager that posted the notification. The
See moreuserInfo
dictionary contains entries for thePTToolManagerAnnotationUserInfoKey
andPTToolManagerPageNumberUserInfoKey
keys.Declaration
Objective-C
extern const NSNotificationName _Nonnull PTToolManagerAnnotationRemovedNotification
Swift
static let PTToolManagerAnnotationRemoved: NSNotification.Name
-
Posted when a form field’s data is modified, e.g. a text box’s text is modified, a checkbox is checked, etc.
The notification object is the tool manager that posted the notification. The
See moreuserInfo
dictionary contains entries for thePTToolManagerAnnotationUserInfoKey
andPTToolManagerPageNumberUserInfoKey
keys.Declaration
Objective-C
extern const NSNotificationName _Nonnull PTToolManagerFormFieldDataModifiedNotification
Swift
static let PTToolManagerFormFieldDataModified: NSNotification.Name
-
Posted when annotation options change.
The notification object is the tool manager that posted the notification. The
See moreuserInfo
dictionary contains an entry for thePTToolManagerAnnotationNamesUserInfoKey
key with the changed annotation types.Declaration
Objective-C
extern const NSNotificationName _Nonnull PTToolManagerAnnotationOptionsDidChangeNotification
Swift
static let PTToolManagerAnnotationOptionsDidChange: NSNotification.Name
-
The key for the
See moreClass
of the previous tool type.Declaration
Objective-C
extern NSString *const _Nonnull PTToolManagerPreviousToolUserInfoKey
Swift
let PTToolManagerPreviousToolUserInfoKey: String
-
The key for a
See moreNSNumber
object containing anint
page number.Declaration
Objective-C
extern NSString *const _Nonnull PTToolManagerPageNumberUserInfoKey
Swift
let PTToolManagerPageNumberUserInfoKey: String
-
The key for an
See moreNSArray
ofPTExtendedAnnotName
constants.Declaration
Objective-C
extern NSString *const _Nonnull PTToolManagerAnnotationNamesUserInfoKey
Swift
let PTToolManagerAnnotationNamesUserInfoKey: String